<!DOCTYPE HTML>

<html lang="en">
<head>

<title>OAuth2LoginConfigurer (spring-security-docs 5.6.3 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../../../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="OAuth2LoginConfigurer (spring-security-docs 5.6.3 API)";
        }
    }
    catch(err) {
    }
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">

<div class="topNav"><a id="navbar.top">

</a>
<div class="skipNav"><a href="OAuth2LoginConfigurer.html#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">

</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="OAuth2LoginConfigurer.html#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="OAuth2LoginConfigurer.html#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="OAuth2LoginConfigurer.html#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="OAuth2LoginConfigurer.html#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="OAuth2LoginConfigurer.html#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">

</a></div>

</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>

<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.springframework.security.config.annotation.web.configurers.oauth2.client</a></div>
<h2 title="Class OAuth2LoginConfigurer" class="title">Class OAuth2LoginConfigurer&lt;B extends <a href="../../../HttpSecurityBuilder.html" title="interface in org.springframework.security.config.annotation.web">HttpSecurityBuilder</a>&lt;B&gt;&gt;</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../../SecurityConfigurerAdapter.html" title="class in org.springframework.security.config.annotation">org.springframework.security.config.annotation.SecurityConfigurerAdapter</a>&lt;<a href="../../../../../../web/DefaultSecurityFilterChain.html" title="class in org.springframework.security.web">DefaultSecurityFilterChain</a>,&#8203;B&gt;</li>
<li>
<ul class="inheritance">
<li><a href="../../AbstractHttpConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer</a>&lt;T,&#8203;B&gt;</li>
<li>
<ul class="inheritance">
<li><a href="../../AbstractAuthenticationFilterConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">org.springframework.security.config.annotation.web.configurers.AbstractAuthenticationFilterConfigurer</a>&lt;B,&#8203;<a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;B&gt;,&#8203;<a href="../../../../../../oauth2/client/web/OAuth2LoginAuthenticationFilter.html" title="class in org.springframework.security.oauth2.client.web">OAuth2LoginAuthenticationFilter</a>&gt;</li>
<li>
<ul class="inheritance">
<li>org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2LoginConfigurer&lt;B&gt;</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="../../../../SecurityConfigurer.html" title="interface in org.springframework.security.config.annotation">SecurityConfigurer</a>&lt;<a href="../../../../../../web/DefaultSecurityFilterChain.html" title="class in org.springframework.security.web">DefaultSecurityFilterChain</a>,&#8203;B&gt;</code></dd>
</dl>
<hr>
<pre>public final class <span class="typeNameLabel">OAuth2LoginConfigurer&lt;B extends <a href="../../../HttpSecurityBuilder.html" title="interface in org.springframework.security.config.annotation.web">HttpSecurityBuilder</a>&lt;B&gt;&gt;</span>
extends <a href="../../AbstractAuthenticationFilterConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">AbstractAuthenticationFilterConfigurer</a>&lt;B,&#8203;<a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;B&gt;,&#8203;<a href="../../../../../../oauth2/client/web/OAuth2LoginAuthenticationFilter.html" title="class in org.springframework.security.oauth2.client.web">OAuth2LoginAuthenticationFilter</a>&gt;</pre>
<div class="block">An <a href="../../AbstractHttpConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers"><code>AbstractHttpConfigurer</code></a> for OAuth 2.0 Login, which leverages the OAuth 2.0
Authorization Code Grant Flow.
<p>
OAuth 2.0 Login provides an application with the capability to have users log in by
using their existing account at an OAuth 2.0 or OpenID Connect 1.0 Provider.
<p>
Defaults are provided for all configuration options with the only required
configuration being
<a href="OAuth2LoginConfigurer.html#clientRegistrationRepository(org.springframework.security.oauth2.client.registration.ClientRegistrationRepository)"><code>clientRegistrationRepository(ClientRegistrationRepository)</code></a>. Alternatively, a
<a href="../../../../../../oauth2/client/registration/ClientRegistrationRepository.html" title="interface in org.springframework.security.oauth2.client.registration"><code>ClientRegistrationRepository</code></a> <code>@Bean</code> may be registered instead.
<h2>Security Filters</h2>
The following <code>Filter</code>'s are populated:
<ul>
<li><a href="../../../../../../oauth2/client/web/OAuth2AuthorizationRequestRedirectFilter.html" title="class in org.springframework.security.oauth2.client.web"><code>OAuth2AuthorizationRequestRedirectFilter</code></a></li>
<li><a href="../../../../../../oauth2/client/web/OAuth2LoginAuthenticationFilter.html" title="class in org.springframework.security.oauth2.client.web"><code>OAuth2LoginAuthenticationFilter</code></a></li>
</ul>
<h2>Shared Objects Created</h2>
The following shared objects are populated:
<ul>
<li><a href="../../../../../../oauth2/client/registration/ClientRegistrationRepository.html" title="interface in org.springframework.security.oauth2.client.registration"><code>ClientRegistrationRepository</code></a> (required)</li>
<li><a href="../../../../../../oauth2/client/web/OAuth2AuthorizedClientRepository.html" title="interface in org.springframework.security.oauth2.client.web"><code>OAuth2AuthorizedClientRepository</code></a> (optional)</li>
<li><a href="../../../../../../core/authority/mapping/GrantedAuthoritiesMapper.html" title="interface in org.springframework.security.core.authority.mapping"><code>GrantedAuthoritiesMapper</code></a> (optional)</li>
</ul>
<h2>Shared Objects Used</h2>
The following shared objects are used:
<ul>
<li><a href="../../../../../../oauth2/client/registration/ClientRegistrationRepository.html" title="interface in org.springframework.security.oauth2.client.registration"><code>ClientRegistrationRepository</code></a></li>
<li><a href="../../../../../../oauth2/client/web/OAuth2AuthorizedClientRepository.html" title="interface in org.springframework.security.oauth2.client.web"><code>OAuth2AuthorizedClientRepository</code></a></li>
<li><a href="../../../../../../core/authority/mapping/GrantedAuthoritiesMapper.html" title="interface in org.springframework.security.core.authority.mapping"><code>GrantedAuthoritiesMapper</code></a></li>
<li><a href="../../../../../../web/authentication/ui/DefaultLoginPageGeneratingFilter.html" title="class in org.springframework.security.web.authentication.ui"><code>DefaultLoginPageGeneratingFilter</code></a> - if <a href="OAuth2LoginConfigurer.html#loginPage(java.lang.String)"><code>loginPage(String)</code></a> is not
configured and <code>DefaultLoginPageGeneratingFilter</code> is available, then a default
login page will be made available</li>
</ul></div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>5.0</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../builders/HttpSecurity.html#oauth2Login()"><code>HttpSecurity.oauth2Login()</code></a>,
<a href="../../../../../../oauth2/client/web/OAuth2AuthorizationRequestRedirectFilter.html" title="class in org.springframework.security.oauth2.client.web"><code>OAuth2AuthorizationRequestRedirectFilter</code></a>,
<a href="../../../../../../oauth2/client/web/OAuth2LoginAuthenticationFilter.html" title="class in org.springframework.security.oauth2.client.web"><code>OAuth2LoginAuthenticationFilter</code></a>,
<a href="../../../../../../oauth2/client/registration/ClientRegistrationRepository.html" title="interface in org.springframework.security.oauth2.client.registration"><code>ClientRegistrationRepository</code></a>,
<a href="../../../../../../oauth2/client/web/OAuth2AuthorizedClientRepository.html" title="interface in org.springframework.security.oauth2.client.web"><code>OAuth2AuthorizedClientRepository</code></a>,
<a href="../../AbstractAuthenticationFilterConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers"><code>AbstractAuthenticationFilterConfigurer</code></a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">

<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">

</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OAuth2LoginConfigurer.AuthorizationEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer.AuthorizationEndpointConfig</a></span></code></th>
<td class="colLast">
<div class="block">Configuration options for the Authorization Server's Authorization Endpoint.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OAuth2LoginConfigurer.RedirectionEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer.RedirectionEndpointConfig</a></span></code></th>
<td class="colLast">
<div class="block">Configuration options for the Client's Redirection Endpoint.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OAuth2LoginConfigurer.TokenEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer.TokenEndpointConfig</a></span></code></th>
<td class="colLast">
<div class="block">Configuration options for the Authorization Server's Token Endpoint.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OAuth2LoginConfigurer.UserInfoEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer.UserInfoEndpointConfig</a></span></code></th>
<td class="colLast">
<div class="block">Configuration options for the Authorization Server's UserInfo Endpoint.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>

<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">

</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="OAuth2LoginConfigurer.html#%3Cinit%3E()">OAuth2LoginConfigurer</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>

<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">

</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="OAuth2LoginConfigurer.AuthorizationEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer.AuthorizationEndpointConfig</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OAuth2LoginConfigurer.html#authorizationEndpoint()">authorizationEndpoint</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the <a href="OAuth2LoginConfigurer.AuthorizationEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client"><code>OAuth2LoginConfigurer.AuthorizationEndpointConfig</code></a> for configuring the Authorization
Server's Authorization Endpoint.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OAuth2LoginConfigurer.html#authorizationEndpoint(org.springframework.security.config.Customizer)">authorizationEndpoint</a></span>&#8203;(<a href="../../../../../Customizer.html" title="interface in org.springframework.security.config">Customizer</a>&lt;<a href="OAuth2LoginConfigurer.AuthorizationEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer.AuthorizationEndpointConfig</a>&gt;&nbsp;authorizationEndpointCustomizer)</code></th>
<td class="colLast">
<div class="block">Configures the Authorization Server's Authorization Endpoint.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OAuth2LoginConfigurer.html#authorizedClientRepository(org.springframework.security.oauth2.client.web.OAuth2AuthorizedClientRepository)">authorizedClientRepository</a></span>&#8203;(<a href="../../../../../../oauth2/client/web/OAuth2AuthorizedClientRepository.html" title="interface in org.springframework.security.oauth2.client.web">OAuth2AuthorizedClientRepository</a>&nbsp;authorizedClientRepository)</code></th>
<td class="colLast">
<div class="block">Sets the repository for authorized client(s).</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OAuth2LoginConfigurer.html#authorizedClientService(org.springframework.security.oauth2.client.OAuth2AuthorizedClientService)">authorizedClientService</a></span>&#8203;(<a href="../../../../../../oauth2/client/OAuth2AuthorizedClientService.html" title="interface in org.springframework.security.oauth2.client">OAuth2AuthorizedClientService</a>&nbsp;authorizedClientService)</code></th>
<td class="colLast">
<div class="block">Sets the service for authorized client(s).</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OAuth2LoginConfigurer.html#clientRegistrationRepository(org.springframework.security.oauth2.client.registration.ClientRegistrationRepository)">clientRegistrationRepository</a></span>&#8203;(<a href="../../../../../../oauth2/client/registration/ClientRegistrationRepository.html" title="interface in org.springframework.security.oauth2.client.registration">ClientRegistrationRepository</a>&nbsp;clientRegistrationRepository)</code></th>
<td class="colLast">
<div class="block">Sets the repository of client registrations.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OAuth2LoginConfigurer.html#configure(B)">configure</a></span>&#8203;(<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&nbsp;http)</code></th>
<td class="colLast">
<div class="block">Configure the <a href="../../../../SecurityBuilder.html" title="interface in org.springframework.security.config.annotation"><code>SecurityBuilder</code></a> by setting the necessary properties on the
<a href="../../../../SecurityBuilder.html" title="interface in org.springframework.security.config.annotation"><code>SecurityBuilder</code></a>.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../../web/util/matcher/RequestMatcher.html" title="interface in org.springframework.security.web.util.matcher">RequestMatcher</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OAuth2LoginConfigurer.html#createLoginProcessingUrlMatcher(java.lang.String)">createLoginProcessingUrlMatcher</a></span>&#8203;(java.lang.String&nbsp;loginProcessingUrl)</code></th>
<td class="colLast">
<div class="block">Create the <a href="../../../../../../web/util/matcher/RequestMatcher.html" title="interface in org.springframework.security.web.util.matcher"><code>RequestMatcher</code></a> given a loginProcessingUrl</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OAuth2LoginConfigurer.html#init(B)">init</a></span>&#8203;(<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&nbsp;http)</code></th>
<td class="colLast">
<div class="block">Initialize the <a href="../../../../SecurityBuilder.html" title="interface in org.springframework.security.config.annotation"><code>SecurityBuilder</code></a>.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OAuth2LoginConfigurer.html#loginPage(java.lang.String)">loginPage</a></span>&#8203;(java.lang.String&nbsp;loginPage)</code></th>
<td class="colLast">
<div class="block">
Specifies the URL to send users to if login is required.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OAuth2LoginConfigurer.html#loginProcessingUrl(java.lang.String)">loginProcessingUrl</a></span>&#8203;(java.lang.String&nbsp;loginProcessingUrl)</code></th>
<td class="colLast">
<div class="block">Specifies the URL to validate the credentials.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="OAuth2LoginConfigurer.RedirectionEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer.RedirectionEndpointConfig</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OAuth2LoginConfigurer.html#redirectionEndpoint()">redirectionEndpoint</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the <a href="OAuth2LoginConfigurer.RedirectionEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client"><code>OAuth2LoginConfigurer.RedirectionEndpointConfig</code></a> for configuring the Client's
Redirection Endpoint.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OAuth2LoginConfigurer.html#redirectionEndpoint(org.springframework.security.config.Customizer)">redirectionEndpoint</a></span>&#8203;(<a href="../../../../../Customizer.html" title="interface in org.springframework.security.config">Customizer</a>&lt;<a href="OAuth2LoginConfigurer.RedirectionEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer.RedirectionEndpointConfig</a>&gt;&nbsp;redirectionEndpointCustomizer)</code></th>
<td class="colLast">
<div class="block">Configures the Client's Redirection Endpoint.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="OAuth2LoginConfigurer.TokenEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer.TokenEndpointConfig</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OAuth2LoginConfigurer.html#tokenEndpoint()">tokenEndpoint</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the <a href="OAuth2LoginConfigurer.TokenEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client"><code>OAuth2LoginConfigurer.TokenEndpointConfig</code></a> for configuring the Authorization Server's
Token Endpoint.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OAuth2LoginConfigurer.html#tokenEndpoint(org.springframework.security.config.Customizer)">tokenEndpoint</a></span>&#8203;(<a href="../../../../../Customizer.html" title="interface in org.springframework.security.config">Customizer</a>&lt;<a href="OAuth2LoginConfigurer.TokenEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer.TokenEndpointConfig</a>&gt;&nbsp;tokenEndpointCustomizer)</code></th>
<td class="colLast">
<div class="block">Configures the Authorization Server's Token Endpoint.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="OAuth2LoginConfigurer.UserInfoEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer.UserInfoEndpointConfig</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OAuth2LoginConfigurer.html#userInfoEndpoint()">userInfoEndpoint</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the <a href="OAuth2LoginConfigurer.UserInfoEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client"><code>OAuth2LoginConfigurer.UserInfoEndpointConfig</code></a> for configuring the Authorization
Server's UserInfo Endpoint.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="OAuth2LoginConfigurer.html#userInfoEndpoint(org.springframework.security.config.Customizer)">userInfoEndpoint</a></span>&#8203;(<a href="../../../../../Customizer.html" title="interface in org.springframework.security.config">Customizer</a>&lt;<a href="OAuth2LoginConfigurer.UserInfoEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer.UserInfoEndpointConfig</a>&gt;&nbsp;userInfoEndpointCustomizer)</code></th>
<td class="colLast">
<div class="block">Configures the Authorization Server's UserInfo Endpoint.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.springframework.security.config.annotation.web.configurers.AbstractAuthenticationFilterConfigurer">

</a>
<h3>Methods inherited from class&nbsp;org.springframework.security.config.annotation.web.configurers.<a href="../../AbstractAuthenticationFilterConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">AbstractAuthenticationFilterConfigurer</a></h3>
<code><a href="../../AbstractAuthenticationFilterConfigurer.html#authenticationDetailsSource(org.springframework.security.authentication.AuthenticationDetailsSource)">authenticationDetailsSource</a>, <a href="../../AbstractAuthenticationFilterConfigurer.html#defaultSuccessUrl(java.lang.String)">defaultSuccessUrl</a>, <a href="../../AbstractAuthenticationFilterConfigurer.html#defaultSuccessUrl(java.lang.String,boolean)">defaultSuccessUrl</a>, <a href="../../AbstractAuthenticationFilterConfigurer.html#failureHandler(org.springframework.security.web.authentication.AuthenticationFailureHandler)">failureHandler</a>, <a href="../../AbstractAuthenticationFilterConfigurer.html#failureUrl(java.lang.String)">failureUrl</a>, <a href="../../AbstractAuthenticationFilterConfigurer.html#getAuthenticationEntryPoint()">getAuthenticationEntryPoint</a>, <a href="../../AbstractAuthenticationFilterConfigurer.html#getAuthenticationEntryPointMatcher(B)">getAuthenticationEntryPointMatcher</a>, <a href="../../AbstractAuthenticationFilterConfigurer.html#getAuthenticationFilter()">getAuthenticationFilter</a>, <a href="../../AbstractAuthenticationFilterConfigurer.html#getFailureUrl()">getFailureUrl</a>, <a href="../../AbstractAuthenticationFilterConfigurer.html#getLoginPage()">getLoginPage</a>, <a href="../../AbstractAuthenticationFilterConfigurer.html#getLoginProcessingUrl()">getLoginProcessingUrl</a>, <a href="../../AbstractAuthenticationFilterConfigurer.html#isCustomLoginPage()">isCustomLoginPage</a>, <a href="../../AbstractAuthenticationFilterConfigurer.html#permitAll()">permitAll</a>, <a href="../../AbstractAuthenticationFilterConfigurer.html#permitAll(boolean)">permitAll</a>, <a href="../../AbstractAuthenticationFilterConfigurer.html#registerAuthenticationEntryPoint(B,org.springframework.security.web.AuthenticationEntryPoint)">registerAuthenticationEntryPoint</a>, <a href="../../AbstractAuthenticationFilterConfigurer.html#registerDefaultAuthenticationEntryPoint(B)">registerDefaultAuthenticationEntryPoint</a>, <a href="../../AbstractAuthenticationFilterConfigurer.html#setAuthenticationFilter(F)">setAuthenticationFilter</a>, <a href="../../AbstractAuthenticationFilterConfigurer.html#successHandler(org.springframework.security.web.authentication.AuthenticationSuccessHandler)">successHandler</a>, <a href="../../AbstractAuthenticationFilterConfigurer.html#updateAccessDefaults(B)">updateAccessDefaults</a>, <a href="../../AbstractAuthenticationFilterConfigurer.html#updateAuthenticationDefaults()">updateAuthenticationDefaults</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer">

</a>
<h3>Methods inherited from class&nbsp;org.springframework.security.config.annotation.web.configurers.<a href="../../AbstractHttpConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">AbstractHttpConfigurer</a></h3>
<code><a href="../../AbstractHttpConfigurer.html#disable()">disable</a>, <a href="../../AbstractHttpConfigurer.html#withObjectPostProcessor(org.springframework.security.config.annotation.ObjectPostProcessor)">withObjectPostProcessor</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.springframework.security.config.annotation.SecurityConfigurerAdapter">

</a>
<h3>Methods inherited from class&nbsp;org.springframework.security.config.annotation.<a href="../../../../SecurityConfigurerAdapter.html" title="class in org.springframework.security.config.annotation">SecurityConfigurerAdapter</a></h3>
<code><a href="../../../../SecurityConfigurerAdapter.html#addObjectPostProcessor(org.springframework.security.config.annotation.ObjectPostProcessor)">addObjectPostProcessor</a>, <a href="../../../../SecurityConfigurerAdapter.html#and()">and</a>, <a href="../../../../SecurityConfigurerAdapter.html#getBuilder()">getBuilder</a>, <a href="../../../../SecurityConfigurerAdapter.html#postProcess(T)">postProcess</a>, <a href="../../../../SecurityConfigurerAdapter.html#setBuilder(B)">setBuilder</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">

</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">

<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">

</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;()">

</a>
<ul class="blockListLast">
<li class="blockList">
<h4>OAuth2LoginConfigurer</h4>
<pre>public&nbsp;OAuth2LoginConfigurer()</pre>
</li>
</ul>
</li>
</ul>
</section>

<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">

</a>
<h3>Method Detail</h3>
<a id="clientRegistrationRepository(org.springframework.security.oauth2.client.registration.ClientRegistrationRepository)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>clientRegistrationRepository</h4>
<pre class="methodSignature">public&nbsp;<a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;&nbsp;clientRegistrationRepository&#8203;(<a href="../../../../../../oauth2/client/registration/ClientRegistrationRepository.html" title="interface in org.springframework.security.oauth2.client.registration">ClientRegistrationRepository</a>&nbsp;clientRegistrationRepository)</pre>
<div class="block">Sets the repository of client registrations.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>clientRegistrationRepository</code> - the repository of client registrations</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client"><code>OAuth2LoginConfigurer</code></a> for further configuration</dd>
</dl>
</li>
</ul>
<a id="authorizedClientRepository(org.springframework.security.oauth2.client.web.OAuth2AuthorizedClientRepository)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>authorizedClientRepository</h4>
<pre class="methodSignature">public&nbsp;<a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;&nbsp;authorizedClientRepository&#8203;(<a href="../../../../../../oauth2/client/web/OAuth2AuthorizedClientRepository.html" title="interface in org.springframework.security.oauth2.client.web">OAuth2AuthorizedClientRepository</a>&nbsp;authorizedClientRepository)</pre>
<div class="block">Sets the repository for authorized client(s).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>authorizedClientRepository</code> - the authorized client repository</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client"><code>OAuth2LoginConfigurer</code></a> for further configuration</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>5.1</dd>
</dl>
</li>
</ul>
<a id="authorizedClientService(org.springframework.security.oauth2.client.OAuth2AuthorizedClientService)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>authorizedClientService</h4>
<pre class="methodSignature">public&nbsp;<a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;&nbsp;authorizedClientService&#8203;(<a href="../../../../../../oauth2/client/OAuth2AuthorizedClientService.html" title="interface in org.springframework.security.oauth2.client">OAuth2AuthorizedClientService</a>&nbsp;authorizedClientService)</pre>
<div class="block">Sets the service for authorized client(s).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>authorizedClientService</code> - the authorized client service</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client"><code>OAuth2LoginConfigurer</code></a> for further configuration</dd>
</dl>
</li>
</ul>
<a id="loginPage(java.lang.String)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>loginPage</h4>
<pre class="methodSignature">public&nbsp;<a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;&nbsp;loginPage&#8203;(java.lang.String&nbsp;loginPage)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../AbstractAuthenticationFilterConfigurer.html#loginPage(java.lang.String)">AbstractAuthenticationFilterConfigurer</a></code></span></div>
<div class="block"><p>
Specifies the URL to send users to if login is required. If used with
<a href="../../../configuration/WebSecurityConfigurerAdapter.html" title="class in org.springframework.security.config.annotation.web.configuration"><code>WebSecurityConfigurerAdapter</code></a> a default login page will be generated when
this attribute is not specified.
</p>
<p>
If a URL is specified or this is not being used in conjunction with
<a href="../../../configuration/WebSecurityConfigurerAdapter.html" title="class in org.springframework.security.config.annotation.web.configuration"><code>WebSecurityConfigurerAdapter</code></a>, users are required to process the specified
URL to generate a login page.
</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../AbstractAuthenticationFilterConfigurer.html#loginPage(java.lang.String)">loginPage</a></code>&nbsp;in class&nbsp;<code><a href="../../AbstractAuthenticationFilterConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">AbstractAuthenticationFilterConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a> extends <a href="../../../HttpSecurityBuilder.html" title="interface in org.springframework.security.config.annotation.web">HttpSecurityBuilder</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;,&#8203;<a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a> extends <a href="../../../HttpSecurityBuilder.html" title="interface in org.springframework.security.config.annotation.web">HttpSecurityBuilder</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;&gt;,&#8203;<a href="../../../../../../oauth2/client/web/OAuth2LoginAuthenticationFilter.html" title="class in org.springframework.security.oauth2.client.web">OAuth2LoginAuthenticationFilter</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a id="loginProcessingUrl(java.lang.String)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>loginProcessingUrl</h4>
<pre class="methodSignature">public&nbsp;<a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;&nbsp;loginProcessingUrl&#8203;(java.lang.String&nbsp;loginProcessingUrl)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../AbstractAuthenticationFilterConfigurer.html#loginProcessingUrl(java.lang.String)">AbstractAuthenticationFilterConfigurer</a></code></span></div>
<div class="block">Specifies the URL to validate the credentials.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../AbstractAuthenticationFilterConfigurer.html#loginProcessingUrl(java.lang.String)">loginProcessingUrl</a></code>&nbsp;in class&nbsp;<code><a href="../../AbstractAuthenticationFilterConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">AbstractAuthenticationFilterConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a> extends <a href="../../../HttpSecurityBuilder.html" title="interface in org.springframework.security.config.annotation.web">HttpSecurityBuilder</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;,&#8203;<a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a> extends <a href="../../../HttpSecurityBuilder.html" title="interface in org.springframework.security.config.annotation.web">HttpSecurityBuilder</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;&gt;,&#8203;<a href="../../../../../../oauth2/client/web/OAuth2LoginAuthenticationFilter.html" title="class in org.springframework.security.oauth2.client.web">OAuth2LoginAuthenticationFilter</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>loginProcessingUrl</code> - the URL to validate username and password</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="../../FormLoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers"><code>FormLoginConfigurer</code></a> for additional customization</dd>
</dl>
</li>
</ul>
<a id="authorizationEndpoint()">

</a>
<ul class="blockList">
<li class="blockList">
<h4>authorizationEndpoint</h4>
<pre class="methodSignature">public&nbsp;<a href="OAuth2LoginConfigurer.AuthorizationEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer.AuthorizationEndpointConfig</a>&nbsp;authorizationEndpoint()</pre>
<div class="block">Returns the <a href="OAuth2LoginConfigurer.AuthorizationEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client"><code>OAuth2LoginConfigurer.AuthorizationEndpointConfig</code></a> for configuring the Authorization
Server's Authorization Endpoint.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="OAuth2LoginConfigurer.AuthorizationEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client"><code>OAuth2LoginConfigurer.AuthorizationEndpointConfig</code></a></dd>
</dl>
</li>
</ul>
<a id="authorizationEndpoint(org.springframework.security.config.Customizer)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>authorizationEndpoint</h4>
<pre class="methodSignature">public&nbsp;<a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;&nbsp;authorizationEndpoint&#8203;(<a href="../../../../../Customizer.html" title="interface in org.springframework.security.config">Customizer</a>&lt;<a href="OAuth2LoginConfigurer.AuthorizationEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer.AuthorizationEndpointConfig</a>&gt;&nbsp;authorizationEndpointCustomizer)</pre>
<div class="block">Configures the Authorization Server's Authorization Endpoint.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>authorizationEndpointCustomizer</code> - the <a href="../../../../../Customizer.html" title="interface in org.springframework.security.config"><code>Customizer</code></a> to provide more
options for the <a href="OAuth2LoginConfigurer.AuthorizationEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client"><code>OAuth2LoginConfigurer.AuthorizationEndpointConfig</code></a></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client"><code>OAuth2LoginConfigurer</code></a> for further customizations</dd>
</dl>
</li>
</ul>
<a id="tokenEndpoint()">

</a>
<ul class="blockList">
<li class="blockList">
<h4>tokenEndpoint</h4>
<pre class="methodSignature">public&nbsp;<a href="OAuth2LoginConfigurer.TokenEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer.TokenEndpointConfig</a>&nbsp;tokenEndpoint()</pre>
<div class="block">Returns the <a href="OAuth2LoginConfigurer.TokenEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client"><code>OAuth2LoginConfigurer.TokenEndpointConfig</code></a> for configuring the Authorization Server's
Token Endpoint.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="OAuth2LoginConfigurer.TokenEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client"><code>OAuth2LoginConfigurer.TokenEndpointConfig</code></a></dd>
</dl>
</li>
</ul>
<a id="tokenEndpoint(org.springframework.security.config.Customizer)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>tokenEndpoint</h4>
<pre class="methodSignature">public&nbsp;<a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;&nbsp;tokenEndpoint&#8203;(<a href="../../../../../Customizer.html" title="interface in org.springframework.security.config">Customizer</a>&lt;<a href="OAuth2LoginConfigurer.TokenEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer.TokenEndpointConfig</a>&gt;&nbsp;tokenEndpointCustomizer)</pre>
<div class="block">Configures the Authorization Server's Token Endpoint.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>tokenEndpointCustomizer</code> - the <a href="../../../../../Customizer.html" title="interface in org.springframework.security.config"><code>Customizer</code></a> to provide more options for
the <a href="OAuth2LoginConfigurer.TokenEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client"><code>OAuth2LoginConfigurer.TokenEndpointConfig</code></a></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client"><code>OAuth2LoginConfigurer</code></a> for further customizations</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="redirectionEndpoint()">

</a>
<ul class="blockList">
<li class="blockList">
<h4>redirectionEndpoint</h4>
<pre class="methodSignature">public&nbsp;<a href="OAuth2LoginConfigurer.RedirectionEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer.RedirectionEndpointConfig</a>&nbsp;redirectionEndpoint()</pre>
<div class="block">Returns the <a href="OAuth2LoginConfigurer.RedirectionEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client"><code>OAuth2LoginConfigurer.RedirectionEndpointConfig</code></a> for configuring the Client's
Redirection Endpoint.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="OAuth2LoginConfigurer.RedirectionEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client"><code>OAuth2LoginConfigurer.RedirectionEndpointConfig</code></a></dd>
</dl>
</li>
</ul>
<a id="redirectionEndpoint(org.springframework.security.config.Customizer)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>redirectionEndpoint</h4>
<pre class="methodSignature">public&nbsp;<a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;&nbsp;redirectionEndpoint&#8203;(<a href="../../../../../Customizer.html" title="interface in org.springframework.security.config">Customizer</a>&lt;<a href="OAuth2LoginConfigurer.RedirectionEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer.RedirectionEndpointConfig</a>&gt;&nbsp;redirectionEndpointCustomizer)</pre>
<div class="block">Configures the Client's Redirection Endpoint.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>redirectionEndpointCustomizer</code> - the <a href="../../../../../Customizer.html" title="interface in org.springframework.security.config"><code>Customizer</code></a> to provide more options
for the <a href="OAuth2LoginConfigurer.RedirectionEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client"><code>OAuth2LoginConfigurer.RedirectionEndpointConfig</code></a></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client"><code>OAuth2LoginConfigurer</code></a> for further customizations</dd>
</dl>
</li>
</ul>
<a id="userInfoEndpoint()">

</a>
<ul class="blockList">
<li class="blockList">
<h4>userInfoEndpoint</h4>
<pre class="methodSignature">public&nbsp;<a href="OAuth2LoginConfigurer.UserInfoEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer.UserInfoEndpointConfig</a>&nbsp;userInfoEndpoint()</pre>
<div class="block">Returns the <a href="OAuth2LoginConfigurer.UserInfoEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client"><code>OAuth2LoginConfigurer.UserInfoEndpointConfig</code></a> for configuring the Authorization
Server's UserInfo Endpoint.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="OAuth2LoginConfigurer.UserInfoEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client"><code>OAuth2LoginConfigurer.UserInfoEndpointConfig</code></a></dd>
</dl>
</li>
</ul>
<a id="userInfoEndpoint(org.springframework.security.config.Customizer)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>userInfoEndpoint</h4>
<pre class="methodSignature">public&nbsp;<a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;&nbsp;userInfoEndpoint&#8203;(<a href="../../../../../Customizer.html" title="interface in org.springframework.security.config">Customizer</a>&lt;<a href="OAuth2LoginConfigurer.UserInfoEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer.UserInfoEndpointConfig</a>&gt;&nbsp;userInfoEndpointCustomizer)</pre>
<div class="block">Configures the Authorization Server's UserInfo Endpoint.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>userInfoEndpointCustomizer</code> - the <a href="../../../../../Customizer.html" title="interface in org.springframework.security.config"><code>Customizer</code></a> to provide more options
for the <a href="OAuth2LoginConfigurer.UserInfoEndpointConfig.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client"><code>OAuth2LoginConfigurer.UserInfoEndpointConfig</code></a></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client"><code>OAuth2LoginConfigurer</code></a> for further customizations</dd>
</dl>
</li>
</ul>
<a id="init(org.springframework.security.config.annotation.web.HttpSecurityBuilder)">

</a><a id="init(B)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;init&#8203;(<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&nbsp;http)
          throws java.lang.Exception</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../SecurityConfigurer.html#init(B)">SecurityConfigurer</a></code></span></div>
<div class="block">Initialize the <a href="../../../../SecurityBuilder.html" title="interface in org.springframework.security.config.annotation"><code>SecurityBuilder</code></a>. Here only shared state should be created
and modified, but not properties on the <a href="../../../../SecurityBuilder.html" title="interface in org.springframework.security.config.annotation"><code>SecurityBuilder</code></a> used for building
the object. This ensures that the <a href="../../../../SecurityConfigurer.html#configure(B)"><code>SecurityConfigurer.configure(SecurityBuilder)</code></a> method uses
the correct shared objects when building. Configurers should be applied here.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../SecurityConfigurer.html#init(B)">init</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../SecurityConfigurer.html" title="interface in org.springframework.security.config.annotation">SecurityConfigurer</a>&lt;<a href="../../../../../../web/DefaultSecurityFilterChain.html" title="class in org.springframework.security.web">DefaultSecurityFilterChain</a>,&#8203;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a> extends <a href="../../../HttpSecurityBuilder.html" title="interface in org.springframework.security.config.annotation.web">HttpSecurityBuilder</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../AbstractAuthenticationFilterConfigurer.html#init(B)">init</a></code>&nbsp;in class&nbsp;<code><a href="../../AbstractAuthenticationFilterConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">AbstractAuthenticationFilterConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a> extends <a href="../../../HttpSecurityBuilder.html" title="interface in org.springframework.security.config.annotation.web">HttpSecurityBuilder</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;,&#8203;<a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a> extends <a href="../../../HttpSecurityBuilder.html" title="interface in org.springframework.security.config.annotation.web">HttpSecurityBuilder</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;&gt;,&#8203;<a href="../../../../../../oauth2/client/web/OAuth2LoginAuthenticationFilter.html" title="class in org.springframework.security.oauth2.client.web">OAuth2LoginAuthenticationFilter</a>&gt;</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="configure(org.springframework.security.config.annotation.web.HttpSecurityBuilder)">

</a><a id="configure(B)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>configure</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;configure&#8203;(<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&nbsp;http)
               throws java.lang.Exception</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../SecurityConfigurer.html#configure(B)">SecurityConfigurer</a></code></span></div>
<div class="block">Configure the <a href="../../../../SecurityBuilder.html" title="interface in org.springframework.security.config.annotation"><code>SecurityBuilder</code></a> by setting the necessary properties on the
<a href="../../../../SecurityBuilder.html" title="interface in org.springframework.security.config.annotation"><code>SecurityBuilder</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../SecurityConfigurer.html#configure(B)">configure</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../SecurityConfigurer.html" title="interface in org.springframework.security.config.annotation">SecurityConfigurer</a>&lt;<a href="../../../../../../web/DefaultSecurityFilterChain.html" title="class in org.springframework.security.web">DefaultSecurityFilterChain</a>,&#8203;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a> extends <a href="../../../HttpSecurityBuilder.html" title="interface in org.springframework.security.config.annotation.web">HttpSecurityBuilder</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../AbstractAuthenticationFilterConfigurer.html#configure(B)">configure</a></code>&nbsp;in class&nbsp;<code><a href="../../AbstractAuthenticationFilterConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">AbstractAuthenticationFilterConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a> extends <a href="../../../HttpSecurityBuilder.html" title="interface in org.springframework.security.config.annotation.web">HttpSecurityBuilder</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;,&#8203;<a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a> extends <a href="../../../HttpSecurityBuilder.html" title="interface in org.springframework.security.config.annotation.web">HttpSecurityBuilder</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;&gt;,&#8203;<a href="../../../../../../oauth2/client/web/OAuth2LoginAuthenticationFilter.html" title="class in org.springframework.security.oauth2.client.web">OAuth2LoginAuthenticationFilter</a>&gt;</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="createLoginProcessingUrlMatcher(java.lang.String)">

</a>
<ul class="blockListLast">
<li class="blockList">
<h4>createLoginProcessingUrlMatcher</h4>
<pre class="methodSignature">protected&nbsp;<a href="../../../../../../web/util/matcher/RequestMatcher.html" title="interface in org.springframework.security.web.util.matcher">RequestMatcher</a>&nbsp;createLoginProcessingUrlMatcher&#8203;(java.lang.String&nbsp;loginProcessingUrl)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../AbstractAuthenticationFilterConfigurer.html#createLoginProcessingUrlMatcher(java.lang.String)">AbstractAuthenticationFilterConfigurer</a></code></span></div>
<div class="block">Create the <a href="../../../../../../web/util/matcher/RequestMatcher.html" title="interface in org.springframework.security.web.util.matcher"><code>RequestMatcher</code></a> given a loginProcessingUrl</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../AbstractAuthenticationFilterConfigurer.html#createLoginProcessingUrlMatcher(java.lang.String)">createLoginProcessingUrlMatcher</a></code>&nbsp;in class&nbsp;<code><a href="../../AbstractAuthenticationFilterConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">AbstractAuthenticationFilterConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a> extends <a href="../../../HttpSecurityBuilder.html" title="interface in org.springframework.security.config.annotation.web">HttpSecurityBuilder</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;,&#8203;<a href="OAuth2LoginConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers.oauth2.client">OAuth2LoginConfigurer</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a> extends <a href="../../../HttpSecurityBuilder.html" title="interface in org.springframework.security.config.annotation.web">HttpSecurityBuilder</a>&lt;<a href="OAuth2LoginConfigurer.html" title="type parameter in OAuth2LoginConfigurer">B</a>&gt;&gt;,&#8203;<a href="../../../../../../oauth2/client/web/OAuth2LoginAuthenticationFilter.html" title="class in org.springframework.security.oauth2.client.web">OAuth2LoginAuthenticationFilter</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>loginProcessingUrl</code> - creates the <a href="../../../../../../web/util/matcher/RequestMatcher.html" title="interface in org.springframework.security.web.util.matcher"><code>RequestMatcher</code></a> based upon the
loginProcessingUrl</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="../../../../../../web/util/matcher/RequestMatcher.html" title="interface in org.springframework.security.web.util.matcher"><code>RequestMatcher</code></a> to use based upon the loginProcessingUrl</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>

<footer role="contentinfo">
<nav role="navigation">

<div class="bottomNav"><a id="navbar.bottom">

</a>
<div class="skipNav"><a href="OAuth2LoginConfigurer.html#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">

</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="OAuth2LoginConfigurer.html#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="OAuth2LoginConfigurer.html#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="OAuth2LoginConfigurer.html#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="OAuth2LoginConfigurer.html#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="OAuth2LoginConfigurer.html#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">

</a></div>

</nav>
</footer>
<script>if (window.parent == window) {(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create', 'UA-2728886-23', 'auto', {'siteSpeedSampleRate': 100});ga('send', 'pageview');}</script><script defer src="https://static.cloudflareinsights.com/beacon.min.js/v652eace1692a40cfa3763df669d7439c1639079717194" integrity="sha512-Gi7xpJR8tSkrpF7aordPZQlW2DLtzUlZcumS8dMQjwDHEnw9I7ZLyiOj/6tZStRBGtGgN6ceN6cMH8z7etPGlw==" data-cf-beacon='{"rayId":"7040ec5289ab97cf","token":"bffcb8a918ae4755926f76178bfbd26b","version":"2021.12.0","si":100}' crossorigin="anonymous"></script>
</body>
</html>
